home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9424 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: UNIX C experts
  5. Date: Sun, 10 Mar 96 14:17:45 GMT
  6. Organization: none
  7. Message-ID: <826467465snz@genesis.demon.co.uk>
  8. References: <4hu6td$752@falcon.ccs.uwo.ca>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4hu6td$752@falcon.ccs.uwo.ca>
  15.            witold@mustang.uwo.ca "Witold A. Batorowicz" writes:
  16.  
  17. >Hello!
  18. >        I actually have two questions:
  19. >1. How do we debug a program written in C with either dbx or gdb that has 
  20. >arguments passed to the main(). Eg. Suppose my program is called test, 
  21. >therefore I would call it: test arg1 arg2. I tried gdb test arg1 arg2 but it 
  22. >doesn't work, and the documentation is not very intuitive...;-(
  23.  
  24. For Unix related programming questions post to comp.unix.programmer.
  25. comp.lang.c is for discussion of the C language itself and does not cover
  26. implementation specific issues such as debuggers.
  27.  
  28. -- 
  29. -----------------------------------------
  30. Lawrence Kirby | fred@genesis.demon.co.uk
  31. Wilts, England | 70734.126@compuserve.com
  32. -----------------------------------------
  33.